// pages/package/mixin/index.js
import code from "./code"

// 1.全局混入(最佳放在app.js导入)
// import '../../../utils/mixins/global-mixin'
// 2.手动混入
import initMixin from '../../../utils/mixins/mixin'
import pageData from '../../../utils/mixins/global/pageData'
const mixin = initMixin(pageData)

mixin.Page({
  /**
   * 页面的初始数据
   */
  data: {
    // 自动注入boundingClientHeight,boundingClientBottom,safeTop

    // 展示参数
    globalCode: code.globalCode,
    customCode: code.customCode,
  },
  clickBack(){
    wx.navigateBack()
  }
})